wvd-sh/WVD scaling script/Config.xml (32 lines of code) (raw):
<?xml version="1.0" encoding="utf-8"?>
<!-- Version 1.1.0 -->
<RDMIScale>
<Azure>
<!--Settings required to authenticate to Azure subscription -->
<Variable Name="AADTenantId" Value="00000000-0000-0000-0000-000000000000"/>
<Variable Name="AADApplicationId" Value="user@wvdcontoso.com"/>
<!-- use AADServicePrincipalSecret filed for testing only, set via New-StoredCredential -->
<Variable Name="AADServicePrincipalSecret" Value=""/>
<!--Azure subscription name -->
<Variable Name="currentAzureSubscriptionId" Value="00000000-0000-0000-0000-000000000000"/>
<!-- WVD tenant name -->
<Variable Name="tenantName" Value=""/>
<!-- WVD tenant name -->
<Variable Name="tenantGroupName" Value="Default Tenant Group"/>
<!-- WVD host pool name -->
<Variable Name="hostPoolName" Value=""/>
<!-- Hostpool session Load Balancing Type -->
<Variable Name="PeakLoadBalancingType" Value="DepthFirst"/>
<Variable Name="OffPeakLoadBalancingType" Value="BreadthFirst"/>
<!-- session Load Balancing Peak Hours -->
<Variable Name="sessionLoadBalancingPeakHours" Value="9:00-18:00"/>
<!-- session Load Balancing off Peak Hours -->
<Variable Name="sessionLoadBalancingOffPeakHours" Value="18:00-22:00"/>
</Azure>
<Deployment>
<Variable Name="Rdbroker" Value="https://rdbroker.wvd.microsoft.com"/>
<Variable Name="Username" Value=""/>
<!-- use Password filed for testing only, set via New-StoredCredential -->
<Variable Name="Password" Value=""/>
<!-- accepted values True/False, True indicate service principal is being used to authenticate to WVD -->
<Variable Name="isWVDServicePrincipal" Value="False" />
</Deployment>
<RdmiScaleSettings>
<!-- Begin of the peak usage time -->
<Variable Name="BeginPeakTime" Value="05:00:00"/>
<!-- End of the peak usage time -->
<Variable Name="EndPeakTime" Value="12:00:00"/>
<!-- Time difference between local time and UTC, in hours -->
<Variable Name="TimeDifferenceInHours" Value="-1" />
<!-- Maximum number of sessions per CPU threshold used to determine when a new RDSH server needs to be started -->
<Variable Name="SessionThresholdPerCPU" Value="1"/>
<!-- Minimum number of RDSH servers to keep running during off-peak usage time -->
<Variable Name="MinimumNumberOfRDSH" Value="1"/>
<!-- Number of seconds to wait before forcing users to logoff. If 0, don't force users to logoff -->
<Variable Name="LimitSecondsToForceLogOffUser" Value="5"/>
<!-- Message title sent to a user before forcing logoff -->
<Variable Name="LogOffMessageTitle" Value="System Under Maintenance"/>
<!-- Message body to send to a user before forcing logoff -->
<Variable Name="LogOffMessageBody" Value="Please save your work and logoff!"/>
</RdmiScaleSettings>
</RDMIScale>